//
//  MassAcidityTextController.m
//  毕业设计
//
//  Created by 龙波 on 2017/9/22.
//  Copyright © 2017年 ----龙波. All rights reserved.
//

#import "MassAcidityTextController.h"
@interface MassAcidityTextController ()

@end

@implementation MassAcidityTextController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor whiteColor];
    [self setUpBaseUi];
}

- (void)setUpBaseUi
{
    UIView *baseView = [[UIView alloc] initWithFrame:CGRectMake(35, 160,SCREENWIDTH - 35*2, 150)];
    baseView.backgroundColor = [UIColor clearColor];
    [self.view addSubview:baseView];
    [baseView borderForColor:[UIColor blackColor] borderWidth:1.0f borderType:UIBorderSideTypeBottom];
    [baseView borderForColor:[UIColor redColor] borderWidth:1.0f borderType:UIBorderSideTypeLeft];
    
    _timeView = [[AcidityBaseView alloc]initWithFrame:CGRectMake(10, 10, SCREENWIDTH - 50*2, 30)];
    _timeView.backgroundColor = [UIColor clearColor];
    [baseView addSubview:_timeView];
    
    _placeView = [[AcidityBaseView alloc]initWithFrame:CGRectMake(10, 10 + 30,SCREENWIDTH - 50*2, 30)];
    _placeView.backgroundColor = [UIColor clearColor];
    [baseView addSubview:_placeView];
    
    _numView = [[AcidityBaseView alloc]initWithFrame:CGRectMake(10, 10 + 60, SCREENWIDTH - 50*2, 30)];
    _numView.backgroundColor = [UIColor clearColor];
    [baseView addSubview:_numView];
    
    [_timeView setupKey:@"活动时间" Value:@"2014-123--323-231-31-23-23"];
    [_placeView setupKey:@"活动地点" Value:@"测试地点"];
    [_numView setupKey:@"报名人数" Value:@"XX人"];
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
